package com.cn.kehong.api;

import com.cn.kehong.domain.ProductThickPeriod;
import com.cn.kehong.domain.ProductThickPeriodTime;
import com.cn.kehong.utils.QueryForm;

import java.util.List;

public interface IProductThickPeriodService {

    List<ProductThickPeriod> getProductThickPeriodList(QueryForm queryForm)throws Exception;

    List<ProductThickPeriod> getProductThickPeriodListByStatus()throws Exception;

    List<ProductThickPeriodTime> getProductThickTimeByStatus()throws Exception;

    String addProductThickPeriod(String peiId,String productCode,String factoryName,String startCode)throws Exception;

    String updateBatchProductThickPeriod(List<ProductThickPeriod> productThickPeriods)throws Exception;

    String updateBatchProductThickPeriodTime(List<ProductThickPeriodTime> productThickPeriodTimes)throws Exception;

    List<ProductThickPeriod> getProductThickPeriodBackList(QueryForm queryForm)throws Exception;


    List<ProductThickPeriod> getXunTask()throws Exception;
    List<ProductThickPeriod> getLineTask()throws Exception;

    List<ProductThickPeriodTime> getUnDoneProductThickLineTaskByIds(List<ProductThickPeriodTime> productThickPeriodTimes)throws Exception;

    String updateThickPeriodByIds(String type,List<String> ids)throws Exception;

    String updateThickPeriodLineStatus(List<ProductThickPeriodTime> productThickPeriods,String status)throws Exception;

}
